package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

/**
 * table --> mmd_user
 * remarks --> 
 * columns --> uid,wxAccount,account,openId,mailAccount,password,userName,headImageUrl,realName,phone,companyName,licenseImg,location,tel,sex,userLevel,level,mainUid,isFree,lastLoginTime,loginCount,createTime
 */
@ApiModel(value = "mmd_user",description = "")
public class MmdUser implements Serializable {
    /**
     * uid
     * 用户ID
     */
    @ApiModelProperty(value="uid",name="用户ID")
    private Long uid;

    /**
     * wxAccount
     * 微信号
     */
    @ApiModelProperty(value="wxAccount",name="微信号")
    private String wxAccount;

    /**
     * account
     * 帐号
     */
    @ApiModelProperty(value="account",name="帐号")
    private String account;

    /**
     * openId
     * 微信openId
     */
    @ApiModelProperty(value="openId",name="微信openId")
    private String openId;

    /**
     * mailAccount
     * 邮箱账号
     */
    @ApiModelProperty(value="mailAccount",name="邮箱账号")
    private String mailAccount;

    /**
     * password
     * 密码
     */
    @ApiModelProperty(value="password",name="密码")
    private String password;

    /**
     * userName
     * 用户名
     */
    @ApiModelProperty(value="userName",name="用户名")
    private String userName;

    /**
     * headImageUrl
     * 用户头像URL
     */
    @ApiModelProperty(value="headImageUrl",name="用户头像URL")
    private String headImageUrl;

    /**
     * realName
     * 真实姓名
     */
    @ApiModelProperty(value="realName",name="真实姓名")
    private String realName;

    /**
     * phone
     * 
     */
    @ApiModelProperty(value="phone",name="")
    private String phone;

    /**
     * companyName
     * 公司名称
     */
    @ApiModelProperty(value="companyName",name="公司名称")
    private String companyName;

    /**
     * licenseImg
     * 营业执照图片
     */
    @ApiModelProperty(value="licenseImg",name="营业执照图片")
    private String licenseImg;

    /**
     * location
     * 所在地
     */
    @ApiModelProperty(value="location",name="所在地")
    private String location;

    /**
     * tel
     * 办公电话
     */
    @ApiModelProperty(value="tel",name="办公电话")
    private String tel;

    /**
     * sex
     * 性别
     */
    @ApiModelProperty(value="sex",name="性别")
    private String sex;

    /**
     * userLevel
     * 用户等级A,B,C,D
     */
    @ApiModelProperty(value="userLevel",name="用户等级A,B,C,D")
    private String userLevel;

    /**
     * level
     * 帐号级别 root admin user
     */
    @ApiModelProperty(value="level",name="帐号级别 root admin user")
    private String level;

    /**
     * mainUid
     * 
     */
    @ApiModelProperty(value="mainUid",name="")
    private Integer mainUid;

    /**
     * isFree
     * 0-正常 1-已冻结
     */
    @ApiModelProperty(value="isFree",name="0-正常 1-已冻结")
    private Integer isFree;

    /**
     * lastLoginTime
     * 最后登录时间
     */
    @ApiModelProperty(value="lastLoginTime",name="最后登录时间")
    private Date lastLoginTime;

    /**
     * loginCount
     * 登录次数
     */
    @ApiModelProperty(value="loginCount",name="登录次数")
    private Long loginCount;

    /**
     * createTime
     * 创建时间
     */
    @ApiModelProperty(value="createTime",name="创建时间")
    private Date createTime;

    /**
     * remark
     * 备注
     */
    @ApiModelProperty(value="remark",name="备注")
    private String remark;

    private static final long serialVersionUID = 1L;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getWxAccount() {
        return wxAccount;
    }

    public void setWxAccount(String wxAccount) {
        this.wxAccount = wxAccount == null ? null : wxAccount.trim();
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    public String getMailAccount() {
        return mailAccount;
    }

    public void setMailAccount(String mailAccount) {
        this.mailAccount = mailAccount == null ? null : mailAccount.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getHeadImageUrl() {
        return headImageUrl;
    }

    public void setHeadImageUrl(String headImageUrl) {
        this.headImageUrl = headImageUrl == null ? null : headImageUrl.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getLicenseImg() {
        return licenseImg;
    }

    public void setLicenseImg(String licenseImg) {
        this.licenseImg = licenseImg == null ? null : licenseImg.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel == null ? null : userLevel.trim();
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }

    public Integer getMainUid() {
        return mainUid;
    }

    public void setMainUid(Integer mainUid) {
        this.mainUid = mainUid;
    }

    public Integer getIsFree() {
        return isFree;
    }

    public void setIsFree(Integer isFree) {
        this.isFree = isFree;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Long getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Long loginCount) {
        this.loginCount = loginCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", uid=").append(uid);
        sb.append(", wxAccount=").append(wxAccount);
        sb.append(", account=").append(account);
        sb.append(", openId=").append(openId);
        sb.append(", mailAccount=").append(mailAccount);
        sb.append(", password=").append(password);
        sb.append(", userName=").append(userName);
        sb.append(", headImageUrl=").append(headImageUrl);
        sb.append(", realName=").append(realName);
        sb.append(", phone=").append(phone);
        sb.append(", companyName=").append(companyName);
        sb.append(", licenseImg=").append(licenseImg);
        sb.append(", location=").append(location);
        sb.append(", tel=").append(tel);
        sb.append(", sex=").append(sex);
        sb.append(", userLevel=").append(userLevel);
        sb.append(", level=").append(level);
        sb.append(", mainUid=").append(mainUid);
        sb.append(", isFree=").append(isFree);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", loginCount=").append(loginCount);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}